package com.examination.client.enums;

/**
 * @author: XiaoDong
 * @date: 2021-10-24 19:17
 * @description:
 */
public enum  BusinessExceptionEnum {


    AGAIN_LOGIN(1001,"token为空"),
    TOKEN_INVALID(1002,"token无效"),
    USER_INVALID(1003,"用户不存在"),
    PASSWORD_WRONG(1004,"密码错误"),
    REPEAT(1005,"用户名重复"),
    LOGIN_ACCOUNT_ERROR(1006,"子账号不能登录主账号app"),
    ALREADY_STORAGE(2001,"已经入库");




    public int code;
    public String msg;
    BusinessExceptionEnum(int code,String msg) {
        this.code = code;
        this.msg = msg;
    }
}
